The Design Notes API > The Design Notes C API > FileHandle OpenNotesFilewithOpenFlags() |
![]() ![]() ![]() |
FileHandle OpenNotesFilewithOpenFlags()
Description
Opens the Design Notes file associated with the specified file, or creates one if none yet exists. You can open the file in read-only mode.
Arguments
const char*
localFileURL
, {BOOL
bForceCreate
}
, {BOOL
bReadOnly
}
![]() |
The first argument is a string containing the path to the main file with which the Design Notes file is associated, expressed as a file:// URL. |
![]() |
The second argument is a Boolean value indicating whether to create the Design Notes file even if Design Notes are turned off for the site or filePath is not associated with any site. The default value is false . This argument is optional, though you need to specify it if you specify the third argument. |
![]() |
The third argument is a Boolean value indicating whether to open the file in read-only mode. The default value is false . This argument is optional. |
![]() ![]() ![]() |